package com.tfjybj.itoo.teach.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dmsdbj.itoo.tool.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
/**
 * ProfessionDictionary实体
 * 专业代码字典
 *
 * @author 田成荣 
 * @version 2.0.0
 * @since 2.0.0 2018-11-08 19:34:10
 */
@ApiModel(value = "ProfessionDictionaryEntity:专业代码字典")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("tt_profession_dictionary")
public class ProfessionDictionaryEntity extends BaseEntity implements Serializable {

	/**
	 * 专业代码（主键），此表数据不能改动
	 */
	@ApiModelProperty(value = "专业代码（主键），此表数据不能改动",required = true)
	@Column(name = "profession_code")
	private String professionCode;

	/**
	 * 专业名称，此表数据不能改动
	 */
	@ApiModelProperty(value = "专业名称，此表数据不能改动",required = true)
	@Column(name = "profession_name")
	private String professionName;

	/**
	 * 父节点,此表数据不能改动
	 */
    @ApiModelProperty(value = "父节点,此表数据不能改动")
	@Column(name = "parent_id")
	private String parentId;


}
